﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Lawyers.aspx.cs" Inherits="Pages_Lawyers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <h1 class="title">
        <asp:Label runat="server" Text="<%$ Resources: Lawyers, AbogadosTitle %>"></asp:Label>
    </h1>

    <strong>
        <asp:Literal runat="server" Text="<%$ Resources: Lawyers, AbogadosTitle %>"></asp:Literal>
    </strong>
    <ul class="lawyers">
        <li>
            <asp:HyperLink ID="HyperLink1" runat="server"
                NavigateUrl="<%$ Resources: Lawyers, WilberUrl %>">
                Wilber Cuba Gonzales
            </asp:HyperLink>
        </li>
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, FeiserUrl %>">
                Feiser Alejandro Aguilar Pérez
            </asp:HyperLink>
        </li>
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, MaxUrl %>">
                Max Nelson Ferrufino Romero
            </asp:HyperLink>
        </li>
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, EduardoUrl %>">
                Eduardo Paz Soldan Ramírez
            </asp:HyperLink>
        </li>
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, EizabethUrl %>">
                Eizabeth Orozco Vargas
            </asp:HyperLink>
        </li>
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, CamiloUrl %>">
                Camilo Saldías Sosa
            </asp:HyperLink>
        </li>
    </ul>

    <strong>
        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: Lawyers, AsistentesTitle %>"></asp:Literal>
    </strong>
    <ul class="lawyers">
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, DanielUrl %>">
                Daniel Vaca Pe&ntilde;a
            </asp:HyperLink>
        </li>
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, MariaUrl %>">
                Mar&iacute;a Roc&iacute;o Paniagua Eguez
            </asp:HyperLink>
        </li>
        <li>
            <asp:HyperLink runat="server"
                NavigateUrl="<%$ Resources: Lawyers, CarlosUrl %>">
                Carlos Homero Delgadillo S&acute;nchez
            </asp:HyperLink>
        </li>
    </ul>

    <asp:Panel id="dialog" runat="server" ToolTip="<%$ Resources: Lawyers, DatosTitle %>">
        <div id="datos">
        
        </div>
    </asp:Panel>
    <script type="text/javascript">
        $(document).ready(function () {
            $("li a").click(function () {
                $("#<%= dialog.ClientID %>").attr("title",$(this).html());
                InitDialog($(this).html());
                $("#<%= dialog.ClientID %>").dialog("open");
                $("#datos").load($(this).attr("href"),function(){
                    $("#datos").fadeIn(500);
                });
                return false;
            });
        });

        function InitDialog(titleDialog) {
            $("#<%= dialog.ClientID %>").dialog("destroy");
            $("#<%= dialog.ClientID %>").dialog({
                height: 350,
                width: 510,
                autoOpen: false,
                modal: true,
                title:titleDialog,
                buttons: {
                    <%= Resources.Lawyers.BotonCerrar %>: function () {
                        $(this).dialog("close");
                        $("#datos").html("");
                        $("#datos").hide();
                    }
                }
            });
        }
    </script>
</asp:Content>

